package onlinebanking.server.feb7gui;

import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Toolkit;

import javax.swing.WindowConstants;
import javax.swing.JFrame;
import javax.swing.JPanel;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class BottomPanel extends javax.swing.JPanel {

	public BottomPanel() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			{
				this.setBounds(10, 520, 774, 31);
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
	protected void paintComponent(Graphics g) {
		super.paintComponent(g);
		
		Image background = null;
		try {
			background = Toolkit.getDefaultToolkit().getImage(getClass().getClassLoader().getResource("images/client/BottomPanel.png"));
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		if(background != null) {
			g.drawImage(background, 0, 0, 774, 31, this);
		}
	}

}
